#pragma once

#ifndef TNode_h
#define TNode_h

#include "Standards.h"

class TNode {
public:
	DESIGN_ENTITY designEntity;
	VALUE val;
	vector<TNode*> childrenList;
	TNode* parent;

	TNode(DESIGN_ENTITY, VALUE);
	TNode();

	//! A method that sets a node as the parent
		/*!
		  \param TNode* par the parent node
		*/
	void setParent(TNode* par);
};
#endif